package com.ruoyi.project.insurance.insurance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * insurance对象 insurance
 * 
 * @author ruoyi
 * @date 2022-02-08
 */
public class insurance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 险种编码 */
    @Excel(name = "险种编码")
    private String code;

    /** 险种名称 */
    @Excel(name = "险种名称")
    private String name;

    /** 保费 */
    @Excel(name = "保费")
    private Integer expense;

    /** 保额 */
    @Excel(name = "保额")
    private Integer quota;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setExpense(Integer expense)
    {
        this.expense = expense;
    }

    public Integer getExpense()
    {
        return expense;
    }
    public void setQuota(Integer quota)
    {
        this.quota = quota;
    }

    public Integer getQuota()
    {
        return quota;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("expense", getExpense())
            .append("quota", getQuota())
            .toString();
    }
}
